using System.ComponentModel.DataAnnotations;

namespace BW.Demo.Domain.Entities
{
    /// <summary>
    /// 溯源管理详情-屠宰企业信息
    /// </summary>
    public class SlaughteringEnterprise
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SlaughteringEnterprisesId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [MaxLength(30)]
        public string SlaughteringCompanyName { get; set; } = string.Empty;

        /// <summary>
        /// 公司所在省
        /// </summary>
        [MaxLength(30)]
        public string Province { get; set; } = string.Empty;

        /// <summary>
        /// 公司所在市
        /// </summary>
        [MaxLength(30)]
        public string Ocation_City { get; set; } = string.Empty;

        /// <summary>
        /// 公司所在县
        /// </summary>
        [MaxLength(50)]
        public string DetailedAddres { get; set; } = string.Empty;

        /// <summary>
        /// 公司成立时间
        /// </summary>
        public DateTime FoundedDate { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        [MaxLength(100)]
        public string CompanyProfile { get; set; } = string.Empty;

        /// <summary>
        /// 生产批次
        /// </summary>
        [MaxLength(50)]
        public string Bath { get; set; } = string.Empty;
    }
}
